

#include <string>
#include "Item"

Item::Item(const std::string& name, const std::string& itemName, int amount) : name(name), itemName(itemName),
amount(amount) {}

const std::string& Item::getName() const {
    return name;
}

void Item::setName(const std::string& name) {
    Item::name = name;
}

const std::string& Item::getItemName() const {
    return itemName;
}

void Item::setItemName(const std::string& itemName) {
    Item::itemName = itemName;
}

int Item::getAmount() const {
    return amount;
}

void Item::setAmount(int amount) {
    Item::amount = amount;
}
